package com.anolesoft.yr.mbus.pre.mapper;

import com.anolesoft.yr.mbus.pre.dto.PreOrderServiceSaveDTO;
import com.anolesoft.yr.mbus.pre.sql.PreOrderServiceSQL;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface PreOrderServiceMapper {

    //新增报价单配件服务内容
    @Insert(PreOrderServiceSQL.SAVE_PRE_ORDER_SERVICE)
    int savePreOrderService(PreOrderServiceSaveDTO preOrderServiceSaveDTO);

    //删除报价单配件服务
    @Update(PreOrderServiceSQL.DELETE_PRE_ORDER_SERVICE)
    int deletePreOrderService(String preOrderUid);

}
